package com.ruoyi.web.controller.pic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识图谱管理对象 a_pic
 * 
 * @author ruoyi
 * @date 2025-05-01
 */
public class APic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识图谱id */
    private Long picId;

    /** 知识图谱节点 */
    @Excel(name = "知识图谱节点")
    private String nodes;

    /** 学生id */
    @Excel(name = "学生id")
    private Long userId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long classId;

    public void setPicId(Long picId) 
    {
        this.picId = picId;
    }

    public Long getPicId() 
    {
        return picId;
    }

    public void setNodes(String nodes) 
    {
        this.nodes = nodes;
    }

    public String getNodes() 
    {
        return nodes;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("picId", getPicId())
            .append("nodes", getNodes())
            .append("userId", getUserId())
            .append("classId", getClassId())
            .toString();
    }
}
